package com.xc.jwt;

import io.jsonwebtoken.SignatureAlgorithm;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "jwt")
@Data
@Component
public class JwtProperties {
    // 加密算法
    private SignatureAlgorithm sign;
    // 盐值
    private String secret;
    // 过期时间
    private Long expiration;
}
